package com.qmds.deviceserver.product.service;

import com.qmds.common.core.entity.Product;
import com.qmds.common.core.vo.R;
import com.qmds.deviceserver.product.param.EditStatusParam;
import com.qmds.deviceserver.product.param.ProductImageParam;
import com.qmds.deviceserver.product.param.ProductParam;
import com.qmds.deviceserver.product.vo.ProductVO;

/**
 * --- 代码敲烂 月薪过万 ---
 *
 * @author ShiJiaWei
 * @date 2024/9/11
 * @desc:
 */
public interface ProductService {

    R<ProductVO> getProductById(Integer did);

    R<Integer> updateStatus(EditStatusParam statusParam);

    R<Integer> updateProductImage(ProductImageParam imageParam);

    R<Integer> updateProduct(ProductParam param);

    R<Integer> addProduct(ProductParam param);

}
